<?xml version="1.0" encoding="UTF-8"?>

<?import javafx.geometry.Insets?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.layout.HBox?>
<?import javafx.scene.layout.Pane?>
<?import javafx.scene.layout.StackPane?>
<?import javafx.scene.layout.VBox?>

<VBox xmlns="http://javafx.com/javafx" xmlns:fx="http://javafx.com/fxml/1" fx:controller="com.sikhyeon.datastructure.controller.ThreadedBinaryTreeController">
    <children>
        <HBox spacing="10">
            <padding>
                <Insets top="10" right="10" bottom="10" left="10"/>
            </padding>
            <children>
                <Button fx:id="addButton" text="Add" onAction="#addValue" />
                <Button fx:id="resetButton" text="Reset" onAction="#resetTree" />
                <Button fx:id="goBackButton" text="Go Back" onAction="#goBack" />
            </children>
        </HBox>
        <Pane fx:id="treeContainer" prefHeight="600" prefWidth="800" />
        <StackPane fx:id="messagePane">
            <Label fx:id="messageLabel" />
        </StackPane>
    </children>
</VBox>
